// valid uses of a basic object constraint, no errors expected
// Object constraint
function foo(x) {
}
var r = foo({
});
var a = {
};
var r = foo({
});
class C {
    constructor(x){
        this.x = x;
    }
}
var r2 = new C({
});
var i;
// {} constraint
function foo2(x) {
}
var r = foo2({
});
var a = {
};
var r = foo2({
});
class C2 {
    constructor(x1){
        this.x = x1;
    }
}
var r2 = new C2({
});
var i2;
